package com.hp.dao;

import com.hp.pojo.Concern;
import org.apache.ibatis.annotations.Mapper;
import org.omg.CORBA.Object;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

@Repository
@Mapper
public interface ConcernMapper {

    public int addConcern(Concern concern);

    public int delConcern(int userId,int houseId);

    public List<Concern> seletOneConcern(int userId);

    public List<Concern> seletTowConcern(int userId);

    public List<Concern> isConcern(Concern concern);
}
